package projectisd.client;

import java.io.Serializable;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Afmelden implements Serializable {

	private static final long serialVersionUID = 1L;
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Long afmeldNr;	
	@Persistent
	private Long studNr;
	@Persistent
	private Long lesUurNr;
	@Persistent
	private String reden;
	@Persistent
	private String studentnummer;


	public Afmelden() {
		super();
	}

	public Afmelden(String reden,String studentnummer) {
		super();
		this.reden = reden;
		this.studentnummer = studentnummer;	
	}
	
	public Long getAfmeldNr() {
		return afmeldNr;
	}

	public void setAfmeldNr(Long afmeldNr) {
		this.afmeldNr = afmeldNr;
	}
	
	public Long getStudNr() {
		return studNr;
	}

	public void setStudNr(Long studNr) {
		this.studNr = studNr;
	}
	
	public Long getLesUurNr() {
		return lesUurNr;
	}

	public void setLesUurNr(Long lesUurNr) {
		this.lesUurNr = lesUurNr;
	}
	
	public String getReden() {
		return reden;
	}

	public void setReden(String reden) {
		this.reden = reden;
	}

	public String getStudentnummer() {
		return studentnummer;
	}

	public void setStudentnummer(String studentnummer) {
		this.studentnummer = studentnummer;
	}
}

	



